﻿using System;
using System.Collections.Generic;

namespace vite_entity.Entities;

/// <summary>
/// 系统日志表
/// </summary>
public partial class SysLog
{
    /// <summary>
    /// 主键
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 日志模块
    /// </summary>
    public string Module { get; set; } = null!;

    /// <summary>
    /// 日志内容
    /// </summary>
    public string Content { get; set; } = null!;

    /// <summary>
    /// 请求路径
    /// </summary>
    public string? RequestUri { get; set; }

    /// <summary>
    /// IP地址
    /// </summary>
    public string? Ip { get; set; }

    /// <summary>
    /// 省份
    /// </summary>
    public string? Province { get; set; }

    /// <summary>
    /// 城市
    /// </summary>
    public string? City { get; set; }

    /// <summary>
    /// 执行时间(ms)
    /// </summary>
    public long? ExecutionTime { get; set; }

    /// <summary>
    /// 浏览器
    /// </summary>
    public string? Browser { get; set; }

    /// <summary>
    /// 浏览器版本
    /// </summary>
    public string? BrowserVersion { get; set; }

    /// <summary>
    /// 终端系统
    /// </summary>
    public string? Os { get; set; }

    /// <summary>
    /// 创建人ID
    /// </summary>
    public long? CreateBy { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 逻辑删除标识(1-已删除 0-未删除)
    /// </summary>
    public sbyte IsDeleted { get; set; }
}
